<%@ Page Language="C#" MasterPageFile="~/master/public-regular.master" AutoEventWireup="true"
    CodeFile="default.aspx.cs" Inherits="myaccount_default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderNestedHeader"
    runat="Server">
    <link href="<%= SiteGlobals.BaseUrl %>App_Style/css/admin.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="cntContent" ContentPlaceHolderID="cphMiddleContent" runat="Server">
    <div class="admin-function-top user-home">
        <fieldset>
            <legend>Order Information</legend>
            <p>
                Track new orders and view previous purchases.</p>
            <a href="<%= string.IsNullOrEmpty(SupplierId) ? AutoGear.BLL.CustomSiteMap.OrderStatus : Page.ResolveUrl("~/partner/" + SupplierId + "/myaccount/order-status.aspx")  %>" class="button white">
                View Order History</a>
        </fieldset>
        <fieldset>
            <legend>Account Management</legend>
            <p>
                You can manage your account and also change user password from here.</p>
                 <a href="<%= string.IsNullOrEmpty(SupplierId) ? Page.ResolveUrl("~/myaccount/change-password.aspx") : Page.ResolveUrl("~/partner/" + SupplierId+"/myaccount/change-password.aspx")  %>"
                class="button white">Change Password</a>
           
            <asp:LinkButton ID="lnkbLogout" runat="server" OnClick="lnkbLogout_Click"  CssClass="button gray small">Logout</asp:LinkButton>
        </fieldset>
        <fieldset>
            <legend>Personal Information</legend>
            <p>
                Edit your shipping and billing address, update your email.</p>
                <a href="<%= string.IsNullOrEmpty(SupplierId) ? Page.ResolveUrl("~/myaccount/edit-profile.aspx") : Page.ResolveUrl("~/partner/" + SupplierId+"/myaccount/edit-profile.aspx")  %>"
                class="button white">Edit Profile</a>
            
        </fieldset>
        <fieldset>
            <legend>Wish List</legend>
             <a href="<%= string.IsNullOrEmpty(SupplierId) ? Page.ResolveUrl("~/myaccount/product-wishlist.aspx") : Page.ResolveUrl("~/partner/" + SupplierId+"/myaccount/product-wishlist.aspx")  %>"
                class="button white">My list</a>
            
        </fieldset>
        <fieldset>
            <legend>Address Book</legend><a href="<%= string.IsNullOrEmpty(SupplierId) ? Page.ResolveUrl("~/myaccount/address-add.aspx") : Page.ResolveUrl("~/partner/" + SupplierId+"/myaccount/address-add.aspx")  %>"
                class="button white">Add Address</a>
            <a href="<%= string.IsNullOrEmpty(SupplierId) ? Page.ResolveUrl("~/myaccount/address-list.aspx") : Page.ResolveUrl("~/partner/" + SupplierId+"/myaccount/address-list.aspx")  %>"
                class="button white">Address book list</a>
        </fieldset>
        <fieldset>
            <legend>Shop Now</legend><a href="<%= string.IsNullOrEmpty(SupplierId) ? AutoGear.BLL.CustomSiteMap.Home : Page.ResolveUrl("~/partner/" + SupplierId)  %>"
                class="button white">Click Here</a>
        </fieldset>
    </div>
</asp:Content>
